#region Using References

using System;

#endregion

namespace Beaker.OpenCube.Game.Mobs
{
	public sealed class Pig
		: MobData, ICanBreed
	{
		private TimeSpan _inLoveDuration;

		/// <summary>
		/// Gets or sets the time until the ocelot loses its breeding hearts and stops searching for a mate.
		/// </summary>
		/// <value>
		/// The time until the ocelot loses its breeding hearts and stops searching for a mate.
		/// </value>
		public TimeSpan InLoveDuration
		{
			get { return _inLoveDuration; }
			set { SetValue( ref _inLoveDuration, value ); }
		}

		private TimeSpan _age;

		/// <summary>
		/// Gets or sets the age of the mob.
		/// </summary>
		/// <remarks>
		/// When negative, the ocelot is a baby. 
		/// When 0 or above, the ocelot is an adult. 
		/// When above 0, represents the number of ticks before this ocelot can breed again.
		/// </remarks>
		public TimeSpan Age
		{
			get { return _age; }
			set { SetValue( ref _age, value ); }
		}
	}
}